import requests from   './request';
import mockRequests from './mockAjax';
export const reqCategoryList=()=> requests ({url:'/product/getBaseCategoryList',method:'get'})
export const reqGetBannerList=()=> mockRequests ({url:'/banner',method:'get'})
//获取floor的数据
export const reqGetFloorList =()=>mockRequests ({url:'/floor',method:'get'})

export const reqGetSearchInfo = (params) =>requests({url:'/list',method:'post',data:params})

export const reqGoodsInfo= (skuId)=>requests({url:`/item${skuId}`,method:'get'})

